<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui" 
      xmlns:c="http://xmlns.jcp.org/jsp/jstl/core">

    <f:view contentType="text/html">
        <h:head>
            <f:facet name="first">
                <meta content='text/html; charset=UTF-8' http-equiv="Content-Type"/>
                <title>JAVA Managment database (Oracle)</title>
            </f:facet>
            <link rel="shortcut icon" href="Data\\images\\Saved-Data-Utility.ico" type="image/x-icon"/>
        </h:head>

        <h:body>

            <p:layout fullPage="true">

                <p:layoutUnit position="north" size="100" resizable="true" closable="true" collapsible="true">
                    <h:form>
                        <p:menubar>
                            <p:submenu label="Options">
                                <p:menuitem value="Logout" action="fail"/>
                            </p:submenu>
                        </p:menubar>
                    </h:form>
                </p:layoutUnit>

                <p:layoutUnit position="south" size="100" closable="true" collapsible="true">
                    Footer
                </p:layoutUnit>

                <p:layoutUnit position="west" size="175" header="Left" collapsible="true" resizable="true">
                    <p:menu>
                        <p:submenu label="Resources">
                            <p:menuitem value="Demo" action="fail" url="fail.xhtml" target="contenido" update="contenido"/>
                            <p:menuitem value="Documentation" action="fail" url="fail.xhtml" target="contenido1" update="contenido1" />
                            <p:menuitem value="Forum" url="http://forum.primefaces.org/" />
                            <p:menuitem value="Themes" url="http://www.primefaces.org/themes.html" />
                        </p:submenu>
                    </p:menu>
                </p:layoutUnit>

                <p:layoutUnit id="contenido" position="center">
                    <h:form>
                           <p:focus for="terminal" />
                           <p:terminal prompt="#{principalPageBean.user}&gt;" id="terminal" widgetVar="term" commandHandler="#{terminalBean.handleCommand}"
                            welcomeMessage="Terminal MySQL" />  
                    </h:form>
                </p:layoutUnit>

            </p:layout>

        </h:body>

    </f:view>
</html>

